<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
<div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">

    <div class="row ">
        <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="searchform.code" placeholder="订单编号">            
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="searchform.title" placeholder="订单标题">
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="searchform.business_code"  placeholder="商家编号">
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="searchform.mobile"  placeholder="手机号">
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="searchform.verification_code"  placeholder="验证码">
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date.lable" is-open="date.opened" 
                readonly close-text="关闭" current-text="今天" clear-text="清除" ng-click="dateOpen($event, date)" placeholder="起始时间"/>
        </div>
    </div>
    <div class="row mt10">

        <div class="col-sm-2">
            <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date1.lable" is-open="date1.opened" 
                readonly close-text="关闭" current-text="今天" clear-text="清除" ng-click="dateOpen($event, date1)" placeholder="结束时间"/>
        </div>
        <div class="col-sm-2">
            <ui-select ng-model="searchform.pay_state" theme="bootstrap" >
                <ui-select-match placeholder="支付状态">
                    {{$select.selected.label}}
                </ui-select-match>
                <ui-select-choices repeat="pay_state.value as pay_state in pay_statearr | filter: $select.search">
                    <span ng-bind-html="pay_state.label | highlight: $select.search"></span>
                </ui-select-choices>
            </ui-select>
        </div>
        <div class="col-sm-2 col-sm-offset-6">
            <button type="button btn" class="btn btn-block btn-info" ng-click="load()">立即搜索</button>
        </div>

    </div>
        
    

</div>
</div>
</div>
<!-- searchArea -->

<div class="panel panel-default">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th class="col-md-3 text-center">订单名称</th>
                    <th class="col-md-1 text-center">订单编号</th>
                    <th class="col-md-2 text-center">商家信息</th>
                    <th class="col-md-1 text-center">验证码</th>
                    <th class="col-md-2 text-center">下单时间</th>
                    <th class="col-md-1 text-center">支付状态</th>
                    <th class="col-md-1 text-center">支付金额</th>
                    <th class="col-md-1 text-center">操作</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="">{{obj.title}}</td>
                    <td class="text-center">{{obj.code}}</td>
                    <td class="text-center">{{obj.business_code}}<br>{{obj.business_name}}</td>
                    <td class="text-center">{{obj.verification_code}}</td>
                    <td class="text-center">{{obj.create_time}}</td>
                    <td class="text-center">{{obj.statename}}</td>
                    <td class="text-center">{{obj.pay_price  * 0.01 | currency : '￥'}}</td>
                    <th class="text-center">
                    <a ng-click="usedorderinfo(obj)" class="btn btn-info btn-xs">订单详情</a>
                    </th>
                </tr>
                <tr >
                    <td class=""><b>居游结算价：</b></td>
                    <td class="text-center"></td>
                    <td class="text-center"></td>
                    <td class="text-center"></td>
                    <td class="text-center"></td>
                    <td class="text-center"></td>
                    <td class="text-center">{{total.total * 0.01 | currency : '￥'}}</td>
                    <td class="text-center"></td>
                </tr>
                </tbody>
        </table>
        <!--<div class="text-right">
             <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="getlist()" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>-->
    </div>
</div>

</div>



<!--<div class="col-sm-12">
<div class="panel panel-default">
    <div class="panel-body">
        <div class="form-group form-inline">
            <div class="col-sm-12">

                <div class="row ">

                  <input type="text" class="form-control" ng-model="searchform.code" placeholder="订单编号">
                  &nbsp;&nbsp;&nbsp;&nbsp;

                  <input type="text" class="form-control" ng-model="searchform.title" placeholder="订单标题" 
                  >
                  &nbsp;&nbsp;&nbsp;&nbsp;

                  <input type="text" class="form-control" ng-model="searchform.business_code"  placeholder="商家编号">
                  &nbsp;&nbsp;&nbsp;&nbsp;

                  <input type="text" class="form-control" ng-model="searchform.verification_code" placeholder="验证码" >
                  &nbsp;&nbsp;&nbsp;&nbsp;

                </div>

                <div class="row mt10">

                  <div class="input-group pull-left" style="width: 45%;">
                    <div class="pull-left input-group" style="margin-top: 7px">
                        下单时间：
                    </div>
                    <div class="pull-left input-group" style="width: 30%">
                        <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date.lable" is-open="date.opened" 
                            readonly close-text="关闭" current-text="今天" clear-text="清除" />
                        <span class="input-group-btn">
                            <button type="button" class="btn btn-default"
                                    ng-click="dateOpen($event, date)">
                                <i class="glyphicon glyphicon-calendar"></i>
                            </button>
                        </span>
                    </div>
                    <div class="pull-left input-group" style="margin-top: 7px;margin-left: 20px;margin-right: 20px">
                        至
                    </div>
                    <div class="pull-left input-group" style="width: 30%">
                        <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date1.lable" is-open="date1.opened" 
                            readonly close-text="关闭" current-text="今天" clear-text="清除" />
                        <span class="input-group-btn">
                            <button type="button" class="btn btn-default"
                                    ng-click="dateOpen1($event, date1)">
                                <i class="glyphicon glyphicon-calendar"></i>
                            </button>
                        </span>
                    </div>
                 </div>
                      

                  <label class="control-label">支付状态：</label>
                  <select class="form-control" ng-model="searchform.pay_state">
                    <option label="未支付" value="0"></option>
                    <option label="已支付" value="1"></option>
                    <option label="查询全部" value=""></option>
                  </select>
                  &nbsp;&nbsp;&nbsp;&nbsp;

                  <button type="button btn" class="btn btn-default search pull-right" ng-click="load()">立即搜索</button>

                </div>


                
                
            </div>
        </div>
    </div>
</div>

  <div class="col-md-12 panel panel-default table-responsive" >
  <table class="table table-bordered">
    <thead>
      <tr>
        <th class="col-md-3 text-center">订单名称</th>
        <th class="col-md-1 text-center">订单编号</th>
        <th class="col-md-2 text-center">商家信息</th>
        <th class="col-md-1 text-center">验证码</th>
        <th class="col-md-2 text-center">下单时间</th>
        <th class="col-md-1 text-center">支付状态</th>
        <th class="col-md-1 text-center">支付金额</th>
        <th class="col-md-1 text-center">操作</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="obj in objs">
        <td class="">{{obj.title}}</td>
        <td class="text-center">{{obj.code}}</td>
        <td class="text-center">{{obj.business_code}}<br>{{obj.business_name}}</td>
        <td class="text-center">{{obj.verification_code}}</td>
        <td class="text-center">{{obj.create_time}}</td>
        <td class="text-center">{{obj.statename}}</td>
        <td class="text-center">{{obj.pay_price  * 0.01 | currency : '￥'}}</td>
        <th class="text-center">
          <a ng-click="usedorderinfo(obj)" class="btn btn-info btn-xs">订单详情</a>
        </th>
      </tr>
      <tr >
        <td class=""><b>居游结算价：</b></td>
        <td class="text-center"></td>
        <td class="text-center"></td>
        <td class="text-center"></td>
        <td class="text-center"></td>
        <td class="text-center"></td>
        <td class="text-center">{{total.total * 0.01 | currency : '￥'}}</td>
        <td class="text-center"></td>
      </tr>
    </tbody>
  </table>
  </div>

  
  

</div>-->